<!--
 * @Author: shawnXiao
 * @Date: 2021-12-23 11:32:36
 * @LastEditTime: 2021-12-26 20:26:08
 * @FilePath: /vite2-vue3-typescript/index.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" href="/favicon.ico" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>
    <%- title %>
  </title>
  <!-- 使用CDN的CSS文件 -->
  <% cdn&&cdn.css.forEach(function(css){ %>
    <link rel="stylesheet" href="<%- css %>" />
    <% }); %>
      <!-- 使用CDN的JS文件 -->
      <% cdn&&cdn.js.forEach(function(js){ %>
        <script type="text/javascript" src="<%- js%>"></script>
        <% }); %>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>